
package com.shop.cloud.live.common.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 直播消息组成
 * 1. 弹幕消息 2.商品讲解状态变更(主播)
 * @author 
 */
@Data
public class LiveMessageDTO {

    @Schema(description = "消息类型 0.心跳 1.弹幕消息 2.商品讲解状态变更")
    private String msgType;

    @Schema(description = "消息内容")
    private String content;

    @Schema(description = "商品id")
    private String spuId;

    @Schema(description = "讲解状态 0未讲解 1讲解中")
    private String explainStatus;

    @Schema(description = "活动价(秒杀、团购活动的商品价格)")
    private Double activityPrice;

    @Schema(description = "用户昵称")
    private String nickName;

}
